package kr.or.javacafe.USCM.USCM108.service;

import java.util.List;

import kr.or.javacafe.USCM.USCM108.dao.USCM108DAO;
import kr.or.javacafe.USCM.USCM108.service.USCM108Service;
import kr.or.javacafe.common.exception.KmtcException;
import kr.or.javacafe.common.exception.KmtcRuntimeException;

public class USCM108ServiceImpl implements USCM108Service
{
	private USCM108DAO uscm108DAO;
	
	public void setUscm108DAO(USCM108DAO uscm108DAO){  //setter injection
		this.uscm108DAO = uscm108DAO;	
	}
	
	public List findMemberList() throws KmtcException
	{
		
			try
			{
				List objList = uscm108DAO.selectMemberList();
				
				return objList;
			}
			catch (RuntimeException ex)
			{
				throw new KmtcRuntimeException(ex);
			}
			catch (Exception ex)
			{
				throw new KmtcException(ex);
			}
		
	}
}
